package com.woniuxy.processservice.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.processdao.model.Pricard;
import com.woniuxy.processmodel.dto.PriCardDto;
import com.woniuxy.processmodel.form.UpdatePricardForm;

import java.util.List;

/**
 * <p>
 * 私教课流程表 服务类
 * </p>
 *
 * @author 冉杰
 * @since 2024-01-15
 */
public interface PricardService extends IService<Pricard> {

    void addValidCardStep(String orderNum);

    void updatePricard(UpdatePricardForm form, Integer coachId);

    Pricard lookPricard(Integer pricardId);

    List<PriCardDto> userLookPricard(String orderNum, Integer userId);

    List<PriCardDto> coachLookPricard(String orderNum, Integer coachId);
}
